package com.fjec.activity.service.impl;

import com.fjec.activity.entity.BizActivitySeckillUser;
import com.fjec.activity.mapper.BizActivitySeckillUserMapper;
import com.fjec.activity.service.IBizActivitySeckillUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 006.秒杀活动用户参与表 服务实现类
 * </p>
 *
 * @author admin
 * @since 2020-09-18
 */
@Service
public class BizActivitySeckillUserServiceImpl extends ServiceImpl<BizActivitySeckillUserMapper, BizActivitySeckillUser> implements IBizActivitySeckillUserService {

    @Resource
    private BizActivitySeckillUserMapper mapper;

    @Override
    public List<Map<String, Object>> getUserCountBySeckillIds(List<Long> seckillIds) {
        return mapper.getUserCountBySeckillIds(seckillIds);
    }
}
